<h3><i class="fa fa-lock fashion"></i> Tentativi d'accesso</h3>
	<?php
	$paramSesso = "";
	$paramTipo = "";
	$titolo = "Tentativi di Login falliti";
		
	echo("<strong>&nbsp;::&nbsp;".$titolo."</strong>");
    $table = '<form action="'.$_SERVER['PHP_SELF'].'" method="post" onsubmit="return conferma()">
	<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table table-striped table-bordered table-hover table-condensed">
	<thead>
	<tr>
		<th>Id</th>
		<th>Username</th>
		<th>Password</th>
		<th>Data</th>
	</tr></thead>';
	$count=0;
    while ($row = mysql_fetch_array($this->_res))
    {    
        $username = stripslashes($row['username']);
        $password = stripslashes($row['password']);
		$id = $row['id'];
		
		if($row['dt_login']!="")
			$dt_login = $row['dt_login'];
		else
			$dt_login = "";
		
		$table .= '<tr>';
		$table .= '<td>'.$id.'</td>';
		$table .= '<td>'.$username.'</td>';
		$table .= '<td>'.$password.'</td>';
		$table .= '<td>'.$dt_login.'</td>';	
		$table .= '</tr>';
		$count++;	
    }
    mysql_free_result($this->_res); 
	$table .= '</table></form>';   
	?>
<?=$table;?>

